package com.crr.controller;

import com.crr.apis.PayFeignApi;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@RestController
@Slf4j
@RequestMapping("/feign")
public class OrderMicrometerController {
    @Resource
    PayFeignApi payFeignApi;
    @GetMapping("/micrometer/{id}")
    public String myMicrometer(@PathVariable("id") Integer id){
        return payFeignApi.myMicrometer(id);
    }

}
